﻿<div id="chat_form"> 
<?if($USER_LOGGED_IN$)?> 
<div id="chat_bb" class="b_block"> 
<div id="chat_bb_button"> <center><a href="javascript://" rel="nofollow" onclick="document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();return false;" title="Обновить"><img src="/images/icon-chat/fresh.png" width="40" height="18" /></a> <a href="javascript://" rel="nofollow" onclick="new _uWnd('Sml',' ',-250,-350,{autosize:0,closeonesc:1,resize:0},{url:'/index/35-23-2'});return false;" title="Смайлики"> <img src="/images/icon-chat/sml.png" width="40" height="18" /> <a href="javascript://" rel="nofollow" onclick="window.open('/index/17','cbbcodes','scrollbars=1,width=550,height=450,left=0,top=0');return false;" title="ББ-коды"><img src="/images/icon-chat/bbcod.png" width="40" height="18"" /></a> <a href="javascript://" rel="nofollow" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0');return false;" title="Модерация"> <img src="/images/icon-chat/dlt.png" width="40" height="18" /></a> </div> </div></center> <div class="clear"></div> <div id="chat_form_mess"> <textarea name="mcmessage" onkeyup="countMessLength();" onfocus="countMessLength();" rows="3" class="form_mess b_block" id="mchatMsgF"></textarea> </div> <div class="clear"></div> 
<div id="chat_form_button" class="b_block"><div><input type="submit" value="ОТПРАВИТЬ" class="mchat" id="mchatBtn" /></div> 
<div align="center"><img alt="" style="display:none;" id="mchatAjax" src="http://s44.ucoz.net/img/fr/ajax3.gif" border="0" width="16" /> 
</div> 
</div> 
</div>
<?else?> 
<div align="center" style="border: 1px dotted #444; font-size: 12px;">Для добавления сообщения необходима авторизация</div> 
<?endif?> 
</div>